package io.renren.modules.sys.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * 仓库表
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-11-22 14:29:35
 */
@TableName("depot")
public class DepotEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId
	private Long id;
	/**
	 * 父级ID
	 */
	private Long parentid;
	/**
	 * 仓库名称
	 */
	private String name;
	/**
	 * 仓库地址
	 */
	private String address;
	/**
	 * 仓储费
	 */
	private Double warehousing;
	/**
	 * 搬运费
	 */
	private Double truckage;
	/**
	 * 类型
	 */
	private Integer type;
	/**
	 * 仓库类型  0主仓 1分仓  2店仓
	 */
	private Integer depottype;
	/**
	 * 排序
	 */
	private String sort;
	/**
	 * 描述
	 */
	private String remark;

	/**
	 * 设置：主键
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：主键
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：父级ID
	 */
	public void setParentid(Long parentid) {
		this.parentid = parentid;
	}
	/**
	 * 获取：父级ID
	 */
	public Long getParentid() {
		return parentid;
	}
	/**
	 * 设置：仓库名称
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * 获取：仓库名称
	 */
	public String getName() {
		return name;
	}
	/**
	 * 设置：仓库地址
	 */
	public void setAddress(String address) {
		this.address = address;
	}
	/**
	 * 获取：仓库地址
	 */
	public String getAddress() {
		return address;
	}
	/**
	 * 设置：仓储费
	 */
	public void setWarehousing(Double warehousing) {
		this.warehousing = warehousing;
	}
	/**
	 * 获取：仓储费
	 */
	public Double getWarehousing() {
		return warehousing;
	}
	/**
	 * 设置：搬运费
	 */
	public void setTruckage(Double truckage) {
		this.truckage = truckage;
	}
	/**
	 * 获取：搬运费
	 */
	public Double getTruckage() {
		return truckage;
	}
	/**
	 * 设置：类型
	 */
	public void setType(Integer type) {
		this.type = type;
	}
	/**
	 * 获取：类型
	 */
	public Integer getType() {
		return type;
	}
	/**
	 * 设置：仓库类型  0主仓 1分仓  2店仓
	 */
	public void setDepottype(Integer depottype) {
		this.depottype = depottype;
	}
	/**
	 * 获取：仓库类型  0主仓 1分仓  2店仓
	 */
	public Integer getDepottype() {
		return depottype;
	}
	/**
	 * 设置：排序
	 */
	public void setSort(String sort) {
		this.sort = sort;
	}
	/**
	 * 获取：排序
	 */
	public String getSort() {
		return sort;
	}
	/**
	 * 设置：描述
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}
	/**
	 * 获取：描述
	 */
	public String getRemark() {
		return remark;
	}
}
